package spring.superrun.record.mvc.dto;

import com.sun.istack.internal.NotNull;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 位置更新dto
 */
public class LocationUpdateDto extends LocationUpdateOrAddDto{
    /**
     * id
     */
    @NotBlank(message = "id不能为空")
    @Length(min=2,max=50,message = "长度要在2到20之间")
    private String id;
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
